.class Lcom/waiqin365/lightapp/visit/eq;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    const/high16 v2, 0x41a00000    # 20.0f

    const/high16 v3, 0x3f000000    # 0.5f

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;->C(Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getHeight()I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;->r(Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;->t(Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    sub-int/2addr v0, v1

    move v1, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;->D(Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    if-nez v0, :cond_3

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v2

    invoke-direct {v0, v2, v1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    :goto_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;->D(Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;->D(Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    return-void

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;->r(Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;->t(Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;)Z

    move-result v1

    if-nez v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    const/high16 v1, 0x42bc0000    # 94.0f

    invoke-static {v0, v1}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v0

    move v1, v0

    goto :goto_0

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;->r(Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;)Z

    move-result v1

    if-nez v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;->t(Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    sub-int/2addr v0, v1

    move v1, v0

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    const/high16 v1, 0x42100000    # 36.0f

    invoke-static {v0, v1}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v0

    move v1, v0

    goto :goto_0

    :cond_3
    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/eq;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-static {v1, v3}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    goto :goto_1
.end method
